package com.gientech.elasticsearch.entity;

import java.io.Serializable;

// 返回值对象
public class ResponseBean<T> implements Serializable {
    // 返回值错误编码
    private String code;
    // 返回值错误消息
    private String msg;
    // 返回业务数据
    private T data;

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
